package com.jt;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
//根据包扫描路径   扫描全部的mapper接口文件  为接口生成JDK动态代理对象
@MapperScan("com.jt.mapper")
public class  SpringBootRun {

    public static void main(String[] args)   {
        SpringApplication.run(SpringBootRun.class, args);
    }

}
